[XEN] Fix page-fault handler to not trust bit 0 of error code.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sun, 18 Jun 2006 18:24:00 +0000 (19:24 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sun, 18 Jun 2006 18:24:00 +0000 (19:24 +0100)
commitfa89a5905e054183ab622901d08d309a679c9923
treeb340c0ebae0ca5d043a9a55cfbb73a1f2d1fcfef
parent9c8f5290ef3d666eb6867de26ac7ba85508b5fb6
[XEN] Fix page-fault handler to not trust bit 0 of error code.
It can be cleared due to writable-pagetable logic. Various
other cleanups too. Spurious fault detection logic is
simplified.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/mm.c
xen/arch/x86/traps.c
xen/arch/x86/x86_32/seg_fixup.c
xen/arch/x86/x86_emulate.c